//
//  YGFoodWikipediaDetailModel.h
//  yuanshangyiliao
//
//  Created by icholab on 2021/4/13.
//

#import "JSONModel.h"

NS_ASSUME_NONNULL_BEGIN
@protocol YGFoodWikipediaFoodInfoDelModel;



@interface YGFoodWikipediaDetailModel : JSONModel

@property(nonatomic, strong)NSString *id;
@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSString *thumbnail;  //食物缩略图
@property (nonatomic, strong) NSString *content;        //简述
@property (nonatomic, strong) NSString *foodContent;    //食物说明
@property (nonatomic, strong) NSArray <YGFoodWikipediaFoodInfoDelModel> *foodInfoDel;      //食物营养成分

@end

@interface YGFoodWikipediaFoodInfoDelModel : JSONModel

@property (nonatomic, strong) NSString *unit;           //单位
@property (nonatomic, strong) NSString *ingredient;     //成分名
@property (nonatomic, strong) NSString *gContent;       //每100g含量
@property (nonatomic, strong) NSString *kjContent;       //每100kj含量





@end

NS_ASSUME_NONNULL_END
